import { _decorator, Button, Component, director, Node, tween } from 'cc';
import BaseUI from '../framwork/BaseUI';
const { ccclass, property } = _decorator;

@ccclass('loading')
export class loading extends BaseUI {
    data: any;
    BaseUIonLoad(): void {
        let loadingProBar = this.GetProgressBar("loadingProBar");
        this.loadAllPrefab(loadingProBar).then(()=>{
            director.loadScene("Game")
        })
    }
    BaseUIonDestroy(): void {
        
    }
    onBtn_click(target: Button, onBtn_name: string): number | void {

    }
}


